package club.cearnach.web.controller;

import club.cearnach.api.service.*;

/**
 * @author 阮胜
 * @date 2018/5/12 16:21
 */
@SuppressWarnings("WeakerAccess")
public class BaseController {
    protected final IActorService actorService;
    protected final IAdminService adminService;
    protected final IDirectorService directorService;
    protected final IMovieLanguageService movieLanguageService;
    protected final IMovieService movieService;
    protected final IMovieTypeService movieTypeService;
    protected final IPersonService personService;
    protected final IPlaceService placeService;
    protected final IVisitorService visitorService;


    public BaseController(IActorService actorService, IAdminService adminService, IDirectorService directorService, IMovieLanguageService movieLanguageService, IMovieService movieService, IMovieTypeService movieTypeService, IPersonService personService, IPlaceService placeService, IVisitorService visitorService) {
        this.actorService = actorService;
        this.adminService = adminService;
        this.directorService = directorService;
        this.movieLanguageService = movieLanguageService;
        this.movieService = movieService;
        this.movieTypeService = movieTypeService;
        this.personService = personService;
        this.placeService = placeService;
        this.visitorService = visitorService;
    }
}
